package com.magenta.maxoptra.gis;

import org.jetbrains.annotations.Nullable;

import java.util.List;
import java.util.UUID;

/**
 * Created with IntelliJ IDEA.
 * User: KuznetsovD
 * Date: 01.10.13
 * Time: 18:24
 * To change this template use File | Settings | File Templates.
 */
public interface SyncGeocodingServiceRemote extends ISyncGeocodingService {

    public static final String JNDI_NAME = "SyncGeocodingServiceRemote";

    List<GeoAddress> getAddress(@Nullable UUID userId, GeoProviderSettings settings, String query) throws GeoException;

    GeoAddress getBestAddress(@Nullable UUID userId, GeoProviderSettings settings, String query);

    List<GeoAddress> doForwardGeocoding(@Nullable UUID userId, GeoProviderSettings settings, GeoAddress address);

    GeoAddress getBestAddress(@Nullable UUID userId, GeoProviderSettings settings, GeoAddress address);

}
